﻿using System.Collections.Generic;

namespace PropertyExpression.ControllableQuery.Test.Queries
{
    public partial class TableValuedParameterQuery : IQuery<IPublicationInfo>
    {
        private readonly IParams<Params> @params;

        public TableValuedParameterQuery(IParams<Params> @params)
        {
            this.@params = @params;
        }

        public class Params
        {
            public readonly IEnumerable<PublicationCodeType> PublicationCodes;

            public Params(IEnumerable<PublicationCodeType> publicationCodes)
            {
                PublicationCodes = publicationCodes;
            }
        }
    }

    public class PublicationCodeType
    {        
    }
}
